strings.trieNode.add (method)
7 uses
strings (current package)
replace.go#L158: func (t *trieNode) add(key, val string, priority int, r *genericReplacer) {
replace.go#L176: t.next.add(key[n:], val, priority, r)
replace.go#L196: keyNode.add(key[1:], val, priority, r)
replace.go#L205: next.add(key[n:], val, priority, r)
replace.go#L213: t.table[m].add(key[1:], val, priority, r)
replace.go#L217: t.next.add("", val, priority, r)
replace.go#L295: r.root.add(oldnew[i], oldnew[i+1], len(oldnew)-i, r)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |